feat: CLI Runners with Command pattern and documentation#874
Merged
feat: CLI Runners with Command pattern and documentation#874
Conversation
…Gemini) Adds support for executing spec tasks via external CLI tools instead of the built-in LLM provider. CLI tools use Backlog MCP to manage task status, with auto-generated MCP config passed via CLI flags. Key changes: - CliToolConfig model with per-tool-type defaults (path, args, MCP flag) - CliTaskExecutorService runs CLI as external process, streams output to Run tool window console, handles exit codes and cancellation - CliConsoleManager manages ConsoleView in IntelliJ Run tool window - SpecTaskRunnerService dual execution paths (LLM vs CLI mode) - Claude defaults: -p --dangerously-skip-permissions --model opus --allowedTools Backlog.md --mcp-config <auto-generated> - CLI instruction prompt includes Backlog MCP workflow steps - MCP config flag field disabled in UI with explanatory help text - Settings dialog pre-fills defaults when adding new CLI tool entry - Args parser strips shell-style quotes for ProcessBuilder compatibility Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move tool-specific logic (command construction, prompt delivery, MCP config format, task-completion handling) out of CliToolConfig enum and CliTaskExecutorService into dedicated CliCommand implementations per CLI type (Claude, Copilot, Codex, Gemini, Custom). CliTaskExecutorService now delegates to the active command, and SpecTaskRunnerService notifies the executor when a task is marked Done so non-self-exiting tools (e.g. Codex) can be terminated. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Consistent hyphenated form in blog posts, feature pages, homepage, config metadata, and welcome JSON. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
New dedicated page covering setup, supported tools, configuration reference, and troubleshooting for CLI Runners. Add sidebar entry under LLM Providers, cross-reference from SDD and Agent Loop pages, and include setup/selection screenshots. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CliCommandimplementations per CLI typeTest plan
./gradlew buildpasses🤖 Generated with Claude Code